<?php



namespace App\Services\Other\Services;

use App\Services\Other\Models\Slider;
use App\Services\Other\Interfaces\SliderServiceInterface;



class SliderService implements SliderServiceInterface
{
    /**
     * @param string $platform
     * @return array
     */
    public function all(): array
    {
        return Slider::query()
            ->orderBy('sort')
            ->get()
            ->toArray();
    }
}
